﻿<%@ Page Language="C#" Theme="skin_control" AutoEventWireup="true" CodeFile="NoEvaluateQuarterPlanForPopUp.aspx.cs"
    Inherits="QuarterPlan_NoEvaluateQuarterPlanForPopUp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>待处理年计划</title>
    <link href="../App_Themes/css/main_css.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table cellpadding="0" cellspacing="0" border="0" width="100%">
            <tr>
                <td class="firstbjcolor" style="height: 14px; width: 100%;" colspan="4">
                    <span class="currentHere">当前位置:年计划管理-&gt;查看待处理年计划</span>
                </td>
            </tr>
            <tr>
                <td style="height: 1; width: 100%;" colspan="4">
                </td>
            </tr>
            <tr>
                <td style="background-image: url(../images/secondRow.gif); background-repeat: repeat-x;
                    height: 30px;" colspan="4">
                    <asp:DropDownList ID="drpType" runat="server" AutoPostBack="True" OnSelectedIndexChanged="drpType_SelectedIndexChanged">
                        <asp:ListItem Value="1">待审核</asp:ListItem>
                        <asp:ListItem Value="0">待评估</asp:ListItem>
                    </asp:DropDownList>
                    <asp:CheckBox ID="ckbAllSelect" runat="server" Text="全选" AutoPostBack="True" OnCheckedChanged="ckbAllSelect_CheckedChanged"
                        SkinID="checkboxSkin" />
                    <asp:Button ID="btnOk" runat="server" Text="通过" OnClick="btnOk_Click" SkinID="buttonSkin" />
                    <asp:Button ID="btnVerifyCircuit" runat="server" SkinID="buttonSkin" Text="流程" OnClick="btnVerifyCircuit_Click" />&nbsp;
                </td>
            </tr>
            <tr>
                <td style="width: 100%" colspan="4">
                    <asp:GridView ID="gdvQuarterPlan" runat="server" AutoGenerateColumns="False" OnPageIndexChanging="gdvQuarterPlan_PageIndexChanging"
                        Width=" 100%" SkinID="gridviewSkin" DataKeyNames="QuarterPlanId,AttachmentPath">
                        <Columns>
                            <asp:TemplateField HeaderText="选择">
                                <ItemTemplate>
                                    <asp:CheckBox ID="ckbSelect" runat="server" SkinID="checkboxSkin" />
                                </ItemTemplate>
                                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Wrap="False" Width="30px" />
                                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Wrap="False" Width="30px" />
                            </asp:TemplateField>
                            <asp:BoundField DataField="QuarterPlanSortId" HeaderText="计划编号">
                                <HeaderStyle Width="30px" Wrap="False" HorizontalAlign="Center" VerticalAlign="Middle" />
                                <ItemStyle HorizontalAlign="Center" Width="30px" VerticalAlign="Middle" Wrap="False" />
                            </asp:BoundField>
                            <asp:BoundField DataField="StartTime" HeaderText="开始时间" DataFormatString="{0:yyyy-MM-dd}"
                                HtmlEncode="False">
                                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="65px" Wrap="False" />
                                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="65px" Wrap="False" />
                            </asp:BoundField>
                            <asp:BoundField DataField="CompleteTime" HeaderText="完成时间" DataFormatString="{0:yyyy-MM-dd}"
                                HtmlEncode="False">
                                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="65px" Wrap="False" />
                                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="65px" Wrap="False" />
                            </asp:BoundField>
                            <asp:BoundField DataField="WorkItem" HeaderText="计划名称">
                                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="80px" Wrap="False" />
                                <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" Width="80px" Wrap="True" />
                            </asp:BoundField>
                            <asp:BoundField DataField="MasterDepartment" HeaderText="责任部门">
                                <HeaderStyle Width="65px" Wrap="False" HorizontalAlign="Center" VerticalAlign="Middle" />
                                <ItemStyle Width="65px" Wrap="False" HorizontalAlign="Center" VerticalAlign="Middle" />
                            </asp:BoundField>
                            <asp:BoundField DataField="MasterPeople" HeaderText="责任人">
                                <HeaderStyle Width="65px" Wrap="False" HorizontalAlign="Center" VerticalAlign="Middle" />
                                <ItemStyle Width="65px" HorizontalAlign="Center" VerticalAlign="Middle" Wrap="False" />
                            </asp:BoundField>
                            <asp:BoundField DataField="SlaveDepartment" HeaderText="配合部门">
                                <HeaderStyle Width="60px" Wrap="False" HorizontalAlign="Center" VerticalAlign="Middle" />
                                <ItemStyle Width="60px" HorizontalAlign="Center" VerticalAlign="Middle" Wrap="False" />
                            </asp:BoundField>
                            <asp:BoundField DataField="SlaveDepartmentDuty" HeaderText="配合部门责任">
                                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="55px" Wrap="False" />
                                <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" Width="55px" Wrap="True" />
                            </asp:BoundField>
                            <asp:TemplateField HeaderText="查看年分解">
                                <ItemTemplate>
                                    <asp:Button ID="btnSelectResolvQuarterPlan" runat="server" OnClick="btnSelectResolvQuarterPlan_Click"
                                        Text="查看分解" Width="60px" SkinID="buttonSkin" />
                                    <asp:Label ID="lblTopic" runat="server" Text="无分解计划" Visible="False"></asp:Label>
                                </ItemTemplate>
                                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Wrap="False" Width="75px" />
                                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Wrap="False" Width="75px" />
                            </asp:TemplateField>
                            <asp:BoundField DataField="Remart" HeaderText="备注">
                                <HeaderStyle Width="80px" Wrap="False" HorizontalAlign="Center" VerticalAlign="Middle" />
                                <ItemStyle Width="80px" HorizontalAlign="Left" Wrap="True" VerticalAlign="Middle" />
                            </asp:BoundField>
                            <asp:TemplateField HeaderText="附件">
                                <ItemTemplate>
                                    <asp:Button ID="btnDownLoad" runat="server" OnClick="btnDownLoad_Click" Text="下载"
                                        SkinID="buttonSkin" />
                                    <asp:Label ID="lblAlert" runat="server" Visible="False" SkinID="labelSkin"></asp:Label>
                                </ItemTemplate>
                                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Wrap="False" Width="50px" />
                                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Wrap="False" Width="50px" />
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="处理">
                                <ItemTemplate>
                                    <asp:TextBox ID="txtCheckNote" runat="server" Height="50px" TextMode="MultiLine"
                                        Width="60px" SkinID="textboxMultiLineSkin"></asp:TextBox><asp:Button ID="btnReturn"
                                            runat="server" Text="退回" OnClick="btnReturn_Click" Width="30px" SkinID="buttonSkin"
                                            OnClientClick="return confirm('确认要退回吗？');" />
                                </ItemTemplate>
                                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="100px" />
                                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="100px" />
                            </asp:TemplateField>
                            <asp:BoundField DataField="QuarterPlanId" HeaderText="id" Visible="False" />
                        </Columns>
                    </asp:GridView>
                </td>
            </tr>
            <tr>
                <td style="width: 100%" colspan="4">
                    <asp:GridView ID="gdvEvaluateCheckNote" runat="server" AutoGenerateColumns="False"
                        Width="100%" SkinID="gridviewSkin" DataKeyNames="QuarterPlanId,PlanSendState,NoCompleteCount,AttachmentPath">
                        <Columns>
                            <asp:TemplateField HeaderText="选择">
                                <ItemTemplate>
                                    <asp:CheckBox ID="ckbSelect" runat="server" SkinID="checkboxSkin" />
                                </ItemTemplate>
                                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Wrap="False" Width="30px" />
                                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Wrap="False" Width="30px" />
                            </asp:TemplateField>
                            <asp:BoundField DataField="QuarterPlanSortId" HeaderText="计划编号">
                                <HeaderStyle Width="30px" Wrap="False" HorizontalAlign="Center" VerticalAlign="Middle" />
                                <ItemStyle HorizontalAlign="Center" Width="30px" VerticalAlign="Middle" Wrap="False" />
                            </asp:BoundField>
                            <asp:BoundField DataField="StartTime" HeaderText="开始时间" DataFormatString="{0:yyyy-MM-dd}"
                                HtmlEncode="False">
                                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="65px" Wrap="False" />
                                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="65px" Wrap="False" />
                            </asp:BoundField>
                            <asp:BoundField DataField="CompleteTime" HeaderText="完成时间" DataFormatString="{0:yyyy-MM-dd}"
                                HtmlEncode="False">
                                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="65px" Wrap="False" />
                                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="65px" Wrap="False" />
                            </asp:BoundField>
                            <asp:BoundField DataField="WorkItem" HeaderText="计划名称">
                                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="80px" Wrap="False" />
                                <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" Width="80px" Wrap="False" />
                            </asp:BoundField>
                            <asp:BoundField DataField="MasterDepartment" HeaderText="责任部门">
                                <HeaderStyle Width="45px" Wrap="False" HorizontalAlign="Center" VerticalAlign="Middle" />
                                <ItemStyle Width="45px" Wrap="False" HorizontalAlign="Center" VerticalAlign="Middle" />
                            </asp:BoundField>
                            <asp:BoundField DataField="MasterPeople" HeaderText="责任人">
                                <HeaderStyle Width="65px" Wrap="False" HorizontalAlign="Center" VerticalAlign="Middle" />
                                <ItemStyle Width="65px" HorizontalAlign="Center" VerticalAlign="Middle" Wrap="False" />
                            </asp:BoundField>
                            <asp:BoundField DataField="SlaveDepartment" HeaderText="配合部门">
                                <HeaderStyle Width="60px" Wrap="False" HorizontalAlign="Center" VerticalAlign="Middle" />
                                <ItemStyle Width="60px" HorizontalAlign="Center" VerticalAlign="Middle" Wrap="True" />
                            </asp:BoundField>
                            <asp:BoundField DataField="SlaveDepartmentDuty" HeaderText="配合部门责任">
                                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="55px" Wrap="False" />
                                <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" Width="55px" Wrap="True" />
                            </asp:BoundField>
                            <asp:TemplateField HeaderText="查看年分解">
                                <ItemTemplate>
                                    <asp:Button ID="btnSelectResolvQuarterPlan" runat="server" OnClick="btnSelectResolvQuarterPlanEvaluate_Click"
                                        Text="查看分解" Width="60px" SkinID="buttonSkin" />
                                    <asp:Label ID="lblTopic" runat="server" Text="无分解计划" Visible="False"></asp:Label>
                                </ItemTemplate>
                                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Wrap="False" Width="75px" />
                                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Wrap="False" Width="75px" />
                            </asp:TemplateField>
                            <asp:BoundField DataField="Remart" HeaderText="备注">
                                <HeaderStyle Width="50px" Wrap="False" HorizontalAlign="Center" VerticalAlign="Middle" />
                                <ItemStyle Width="50px" HorizontalAlign="Left" Wrap="True" />
                            </asp:BoundField>
                            <asp:TemplateField HeaderText="附件">
                                <ItemTemplate>
                                    <asp:Button ID="btnDownLoad1" runat="server" OnClick="btnDownLoad1_Click" Text="下载"
                                        SkinID="buttonSkin" />
                                    <asp:Label ID="lblAlert1" runat="server" Visible="False" SkinID="labelSkin"></asp:Label>
                                </ItemTemplate>
                                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Wrap="False" Width="50px" />
                                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Wrap="False" Width="50px" />
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="处理">
                                <ItemTemplate>
                                    <asp:DropDownList ID="dropZhuangTai" runat="server">
                                        <asp:ListItem Value="3">请选择</asp:ListItem>
                                        <asp:ListItem Value="4">圆满完成</asp:ListItem>
                                        <asp:ListItem Value="5">顺利进行</asp:ListItem>
                                        <asp:ListItem Value="6">有障碍</asp:ListItem>
                                        <asp:ListItem Value="7">失控</asp:ListItem>
                                    </asp:DropDownList>
                                    <br />
                                    <asp:TextBox ID="txtCheckNote" runat="server" Height="50px" TextMode="MultiLine"
                                        Width="60px" SkinID="textboxMultiLineSkin"></asp:TextBox><asp:Button ID="btnTiJiao"
                                            runat="server" Text="提交" OnClick="btnTiJiao_Click" Width="30px" SkinID="buttonSkin"
                                            OnClientClick="return confirm('确认要提交吗？');" />
                                </ItemTemplate>
                                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="100px" />
                                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="100px" />
                            </asp:TemplateField>
                            <asp:BoundField DataField="QuarterPlanId" HeaderText="id" Visible="False" />
                            <asp:BoundField DataField="PlanSendState" HeaderText="PlanSendState" Visible="False" />
                            <asp:BoundField DataField="NoCompleteCount" HeaderText="NoCompleteCount" Visible="False" />
                        </Columns>
                    </asp:GridView>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
